package com.atguigu.day11.enumtest;

public enum Colors {
    赤, 橙, 黄, 绿("green"), 青, 蓝, 紫;
    private String name;

    Colors() {
    }

    Colors(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
